The crPEGetNthTableSessionInfo function gets the session information for a Microsoft Access table being used in your report. Many Microsoft Access database tables require that a session be opened before the information in the table can be used. Use crPEGetNthTableSessionInfo to obtain the session information (User ID, Password, and Session Handle) for a particular table.
Declare Function crPEGetNthTableSessionInfo Lib "crwrap32.dll" Alias "crvbPEGetNthTableSessionInfo" (ByVal printJob As Integer, ByVal TableN As Integer, ByRef UserID As String, ByRef SessionHandle As Long) As Integer
TRUE (1) if the call is successful, FALSE (0) if the call fails.
Seagate Software IMG Holdings, Inc. http://www.seagatesoftware.com Support services: http://support.seagatesoftware.com |